package com.txx.design.test.proxy.staticproyx;

public class UserDaoProxy {

    private UserDao userDao;

    public UserDaoProxy(UserDao userDao) {
        this.userDao = userDao;
    }

    public void doProxy(){
        System.out.println("dou userdao before");
        userDao.dosomeThing();
        System.out.println("dou userdao after");
    }
}

